<?php

use Biz\service\miniProgram\GoodsRecommend as sGoodsRecommend;


class GoodsRecommendAction extends ActionPlugin
{

    const USER_LEVEL = self::LEVEL_NOTHING;

    public function main()
    {
        $page = $this->getRequest()->getQuery('page', 1);
        $goodsRecommend = sGoodsRecommend::paged($page);
        $this->setSuccess($goodsRecommend);
    }
}